module.exports = (sequelize, Sequelize)=>{
    const Depend = sequelize.define("depend", 
    {
        tech_id: {
            type: Sequelize.INTEGER,
            primaryKey: true,
        },
        dep_id: {
            type: Sequelize.INTEGER,
            primaryKey: true,
        }
    },{
        indexes:[{
            unique: false,
            fields: ['tech_id']
        },{
            unique: false,
            fields: ['dep_id']
        }]
    }, {
        freezeTableName: true,
        timestamps: false,
    });
    // Depend.removeAttribute('id');
    Depend.removeAttribute('createdAt');
    Depend.removeAttribute('updatedAt');
    return Depend
}